-- do_equip
-- created by panyl
-- 穿戴装备

return {
    doAction = function(action, extra)
        local pos = action.pos;

        local forceChange = iif(pos % 2 == 1, true, false);
        local forceEquip = iif(bit.band(pos, 2) == 2, true, false);

        return EquipM.equip(action.data, forceEquip, forceChange);
    end,
};
